home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 24
/
Aminet 24 (1998)(GTI - Schatztruhe)[!][Apr 1998].iso
/
Aminet
/
util
/
misc
/
aview.lha
/
AView
/
Install
/
AView.install
next >
Wrap
Text File
|
1998-02-18
|
23KB
|
607 lines
; $VER: AView.install 1.45 (10.02.98)
; Install script for AView (Workbench 2.0 or higher)
;
(COMPLETE 0)
;(USER 2)
(SET #ApplicationName "AView")
(SET #ApplicationDir "sys:tools")
(SET #ApplicationDir1 "sys:utilities")
(SET #ApplicationDir2 "work:tools")
(SET #ApplicationDir3 "tools:")
(SET #ApplicationDir4 "work:utilities")
(SET #ArchiveDir "/")
(SET #Language -1)
(SET #Documents -1)
(SET #ApplicationKeyfile (CAT #ApplicationName ".key"))
;=============================================================================
; German strings
(IF (= @language "deutsch")
(
(SET default_lang 2)
(SET #bad-kick "Sie benötigen Workbench 2.0 oder größer")
(SET #bad-installer
(CAT "Achtung! Es ist eine alte Version des Programmes 'Installer' "
"auf Ihrem Amiga!\n\nDie Installation benötigt mindestens Installer 42.9.\n\n"
"Bitte überprüfen Sie Ihre Konfiguration!\n"
))
(SET #App-InstallMsg
(CAT "\n%s Installationsskript.\n\n"
"Dieses Skript installiert oder deinstalliert\n"
"%s auf Ihrem Amiga.\n\n"
"Lesen Sie die Anleitungsdatei für weitere Informationen\n"
" über den Vertrieb von %s.\n\n"
"%s © 1995-98 Guido Mersmann\n"
"Alle Rechte reserviert."
))
(SET #App-MainMode "Wählen Sie den gewüschten Vorgang!")
(SET #App-Where
(CAT "Wo möchten Sie %s installieren ?\n"
"(Ein Verzeichnis wird angelegt)"
))
(SET #App-Update
(CAT "\nEin %s-Verzeichnis existiert im ausgewählen"
" Verzeichnis.\n\n Wenn Sie fortfahren,"
" bestätigen Sie, daß Sie die alte %s-Installation"
" mit der neuesten Version überschreiben wollen.\n\n"
"Verschiedene %s-Dateien (z.B überflüssige Dateien) werden falls nötig überschrieben!"
))
(SET #App-Main "Welche Version von %s möchten Sie installieren?")
(SET #App-Main-help
(CAT "Die OS2.0+ Version läuft unter allen Systemen ab OS2.0."
" Die OS2.1+ Version hat den Nutzen, daß sie weniger Resourcen"
" benutzt, wenn sich %s im Hintergrund befindet. Dazu MUß"
" die Locale.library eingebunden sein. Für die OS3.0+ gilt das selbe"
" wie für die OS2.1 Verison. Es werden OS3.0+ Routinen benutzt, die"
" weiteren Speicher sparen."
))
(SET #App-Language "Welche Sprachen sollen installiert werden ?")
(SET #App-Language-help
(CAT "\nDer Amiga kann in vielen verschiedenen Sprachen"
" arbeiten. Um Plattenkapazität zu sparen können Sie"
" nur die Sprachen anwählen, die sie benötigen"
" Haken Sie also einfach die Sprachen ab, die Sie"
" Ihrem System zugänglich machen wollen."
@askoptions-help
))
(SET #App-Docs "Welche Anleitungs- und Informationsdateien wollen Sie installieren ?")
(SET #Startup-DefIcons (CAT "\nWollen Sie AVDeficons in die user-startup "
"eintragen?\n\nAVDeficons ist ein kleines Tool, "
"das es Ihnen erlaubt Piktogramme für Dateien "
"zu definieren, die kein eigenes Piktogramm haben. "
"Sie können jedem Dateityp, den AView kennt, "
"ein eigenes Piktogramm zuweisen und vieles mehr!"))
(SET #Startup-DefIconsDir (CAT "\nWollen Sie die mitgelieferten Piktogramme installieren?\n\n"
"Wenn das wollen, dann sollten Sie wissen, daß "
"Ihre selbst erstellen Piktogramme möglicherweise überschrieben werden."))
(SET #startup-prompt "\n\nJetzt werden für %s folgende Eintragungen in die S:User-Startup gemacht:\n\n%s")
(SET #App-Exit "\n\n%s installiert!!\n\nSie finden %s im Verzeichnis \"%s\"")
;------- DEINSTALL STRINGS
(SET #App-DeinstallWhere "Wo liegt %s auf Ihrer Platte ?\n")
(SET #App-Install "%s Installieren")
(SET #App-DeInstall "%s Deinstallieren")
(SET #bad-DeInstall "Es gibt keine %s Installation an der angegeben Position")
(SET #StartupRemove-prompt "\n\nDie zu %s gehörenden Einträge in der User-startup werden gelöscht!")))
(SET #Deinstall-Done "\n%s ist jetzt deinstalliert!")
;=============================================================================
; English strings
(IF (<> @language "deutsch")
(
(SET default_lang 4)
(SET #bad-kick "You must have at least Workbench 2.0+")
(SET #bad-installer
(CAT "You have an old version of the program 'Installer' "
"on your Amiga!\n\nThe installation procedure needs at least Installer 42.9.\n\n"
"Please check your configuration!\n"
))
(SET #App-InstallMsg
(CAT "\n\n%s Installation Script.\n\n"
"This script installs %s on your Amiga.\n\n"
"Read the guide file for more information\n"
" on the distribution of %s.\n\n"
"%s © 1995-98 Guido Mersmann\n"
"All rights reserved."
))
(SET #App-MainMode "Please choose mode:")
(SET #App-Where
(CAT "Where would you like to install %s ?\n"
"(A drawer will be created)"
))
(SET #App-Update
(CAT "\n\nA %s drawer does already exist in the selected "
" directory.\n\n By selecting \"Proceed\", you"
" indicate that you want to update the %s"
" installation with the most recent version.\n\n"
"Several %s specific files will be overwritten!"
))
(SET #App-Main "Which %s version should be installed ?")
(SET #App-Main-help
(CAT "The OS2.0+ version should only be used on Systems with OS2."
" The OS2.1+ and the OS3.0+ version need less Memory. Locale is required!"
" Special OS3.0+ functions are used to save more memory."
))
(SET #App-Language "Which languages should be installed ?")
(SET #App-Language-help
(CAT "\nThe Amiga can be operated in many different"
" languages."
"To reduce the amount of space consumed by the"
" language files, you can select to have only the"
" files of specific languages copied.\n\n"
"Simply check the boxes of the languages you wish"
" to have available on your system.\n\n"
@askoptions-help
))
(SET #App-Docs "Which Amiga-guide files should be installed ?")
(SET #Startup-DefIcons (CAT "\nDo you want to install AVDeficons?\n\n"
"AVDeficons is a little programm that allows to "
"specify icons for each AView file type."))
(SET #Startup-DefIconsDir (CAT "\nDo you want to install the included icons?\n\n"
"If you proceed this installer script is overwriting "
"previous installed or created aview icons.\n\nIf this is "
"your first AView installation you should install these "
"icons."))
(SET #startup-prompt "\n\nSome lines need to be added to S:User-Startup for %s\n\n%s")
(SET #App-Exit "\n\n%s installed !!\n\n%s can be found in your \"%s\" drawer (or partiton).")
;--------- DEINSTALLATION STRINGS
(SET #App-DeInstallWhere "Where is the location of %s ?\n")
(SET #App-Install "Install")
(SET #App-DeInstall "Deinstall")
(SET #bad-DeInstall "There is no %s installation at the specified position!")
(SET #StartupRemove-prompt "\nRemove %s lines within your user-startup?")
(SET #Deinstall-Done "\n%s is now deinstalled.")
;---------
))
;----------------------------------------------------------------------------
;----------------------------------------------------------------------------
; P_Requirements
;----------------------------------------------------------------------------
;----------------------------------------------------------------------------
(PROCEDURE P_Requirements
; Workbench 37 or better required
(IF (< (/ (getversion) 65536) 37)
(
(abort #bad-kick)
)
)
; Installer 42.9 or better required
(if (< @installer-version 2752521)
(
(abort #bad-installer)
)
) ;if
) ;PROCDURE
;----------------------------------------------------------------------------
;----------------------------------------------------------------------------
; P_DeInstall
;----------------------------------------------------------------------------
;----------------------------------------------------------------------------
(PROCEDURE P_DeInstall #InstallerMode
(SET #Dummy (ASKCHOICE
(PROMPT #App-MainMode)